

package com.base.commons.tools.exception;


import lombok.Getter;

/**
 * 自定义参数校验异常
 *
 * @author carl
 * @since 1.0.0
 */
@Getter
public class ParamException extends BaseOfException {
	private static final long serialVersionUID = 1L;

	public ParamException(Integer code) {
		super(code);
	}

	public ParamException(Integer code, String... params) {
		super(code,params);
	}

	public ParamException(Integer code, Throwable e) {
		super(code,e);
	}

	public ParamException(String message) {
		super(message);
	}

	public ParamException(String message, Throwable e) {
		super(message, e);
	}

	public ParamException(int code, Throwable e, String... params) {
		super(code,e,params);
	}
}